Part Number Hot Search : 
RB09331J G40TSM NH02L MBR330 DBF150G 4559B AN8090S OP183
Product Description
Full Text Search
 

To Download EADISK240 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  zeppelinstrasse 19 d- 82 205 gilching phone +49-8105-778090 fax +49-8105-778099 http://www.lcd-module.de ea kit129-6 6.2005 technical data * lcd graphic display with various graphic functions and built in fonts * 128x64 pixels with led illumination, blue negative or * black and white with white led-backlight * power supply 5v/170ma or 9~35v optionally * rs-232 with baudrates 1,200..115,200 bd * 5 fonts built in, even with 90 rota tion for vertically use * font zoom (double size to 8-times) up to 35mm character size * positioning accurate to the pixel with all functions * programming by means of high-level language-type commands: * straight line, point, area, and/or/exor, bar graph... * up to 256 macros programmable * combina tion of text and graphics all the time * built in software supports touch panel * opera ting temperature range -20..+70c, storage -30..+70c accessories * with touch panel 5x3 areas (anti-glare and scratch-proof) * floppy disk for macro programming (pc dos/win) ea disk240 * cable (1.5m) for connection to 9-pin sub-d (rs-232 female) ea kv24-9b ordering information 128x64 with touch panel 5x3, led-b./l. blue-white ea kit129-6lwtp 128x64 dots without touch panel ea kit129-6lw 128x64 dots black and white with touch panel ea kit129j-6lwtp supply voltage 9~35vdc instead of 5v ea opt-9/35v mounting bezel, made of black anodized aluminium ea 0fp129-6sw control panel with fonts, graphics commands and macros with and w./o. touch panel ea kit129-6lwtp dimensions 75x60x24mm viewing area 61x 38 mm ea kit129j-6lwtp
2 ea kit129-6 general the ea kit129 graphics kit is a fully assembled control and operating unit with a variety of integrated functions. the display has very compact dimensions and offers excellent super-twist contrast, which means the unit can be put into operation immediately. it is controlled via the standard rs-232 or rs-422 interface. in addition to complete graphics routines for display output, the graphics kit also contains a wide variety of fonts. graphics command similar to those used in high-level programming languages are used for programming. there is thus no longer any need for the time-consuming programming of character sets and graphics routines. the ease of use offered by macros and input via touch panel make it a real power display. hardware the graphics kit is designed for an operating voltage of +5v. a supply voltage of 9..35v is also possible. serial asynchronous data transfer is carried out in rs-232 format. the transmission format is set permanently to 8 data bits, 1 stop bits, and no parity. a transimssion rate of between 1,200 and 115,200 baud can be selected by means of dip switches. rts and cts handshake lines are available. data format: touch panel the ea kit129 versions are equipped with an integrated touch panel. you can make entries and choose menu settings by touching the display. the labeling of the "keys" is flexible and can also be changed during runtime (different languages, icons). the drawing of the individual "keys" and the labeling or grouping of several fields is handled by the integrated software. software the graphic kits are programmed by means of commands such as draw a rectangle from (0,0) to (64,15) . no additional software or drivers are required. strings can be placed with pixel accuracy . text and graphics can be combined at any time. up to 16 different character sets can be used. thus, when the 8-times zoom is used with the largest character set (8x16), the words and numbers fill the screen (128x64). contrast adjustment contrast will be adjusted via built in potentiometer. thanks to the onboard special temperature compensation circuit there's no need for any further adjustment, even temperature changes over the whole range of -20~+70c. blue-white and black&white (difference) the blue-white version ea kit129-6lwtp is recommanded for all indoor-applications with and without any room illumination. the black&white fstn-version ea kit129j-6lwtp was specially developed for outdoor-applications. this kind of display can be read even under extrem bright sunlight conditions. it can be used without backlight also (even in direct sunlight !). accessories floppy disk for creating macros a floppy disk (ea disk240) is required for macro programming *) . this converts the commands entered in a text file into a code that can be read by the graphics kit, and programs them into the eeprom. cable for pc to enable simple connection to pcs (macro programming), we provide a 1.5m cable and a 9-pin sub-d female connector (ea kv24-9b). simply insert it into com 1 or com 2 and get started. *) also on the internet: http://www.lcd-module.de/deu/disk/disk240.zip
3 ea kit129-6 externla keybo ard (ea kit129-6lw only) a keyboard (anything from individual keys to a 3x5 matrix keyboard, j4) can be connected at the plug-in connection. the connected keys are debounced by means of software. please note that it is only possible to connect an external keyboard to versions without an integrated touch panel. each key is switched between an output and an input. each input has a 100k ? pullup. up to 5 keys can be connected at each output. to find out double-key-strokes all outputs must be decoupled by a schottky-diode (e.g. bat 46). transmitting the keystrokes at each keystroke, the associated key number (1..15) is transmitted or an internal touch makro (only if defined) will be started. the release of the key is not transmitted. if the release of the key is to be transmitted as well, this can be done by defining touch macro no. 0. the automatic keyboard scan can be deactivated by means of the command "esc t a 0". if the handshake line (e.g. cts) does not permit transmission, keystrokes can be lost. the key number can be determined as follows: key number = (output -1) * 5 +input (output: a number between 1 and 3; input: a number between 1 and 5). touch p anel (ea kit129x-lwtp only) versions ea kit129-6lwtp and kit129j-6lwtp are supplied with an integrated touch panel with 15 fields. the graphics kit offers convenient commands supporting this touch panel. it is possible, for example, to group a number of touch fields to form a single large key and then draw and label the key. you can also assign a record code (1..255) to the key you have defined. if a return code of 0 is assigned, the key is disabled and has no effect when it is pressed. when the touch keys are touched, they can be automatically inverted and a tone can sound, indicating they have been touched. at the same time, the defined return code of the key is transmitted via the serial interface, or an internal touch macro with the number of the return code is started. example: definition of a key from field 3 to 9 with the return code 65=a and the text "stop". note: before individual keys are defined, all fields should be disabled by means of "esc t r". example codes to be output note for compiler #th 11, 21, a, 2, "stop" the end code 0 is not specified here as asc ii esc t h . . a . s t o p . the dots . stand for ascii characters that are not to be displayed in hex $1b $54 $48 $0b $15 $41 $02 $53 $54 $4f $50 $00 in decimal 27 84 72 11 21 65 2 83 84 79 80 0 esc code command for "define touch" horizontal direction touch count top left touch count bottom right return code draw field with border end of text matrix keypad connector j4 pin symbol function 1 in 1 input column 1 2 out 1 output line 1 3 in 2 input column 2 4 out 2 output line 2 5 in 3 input column 3 6 out 3 output line 3 7 in 4 input column 4 8 nc not connected 9 in 5 input columne 5 10 nc not connected example
4 ea kit129-6 supply voltage / ea opt-9/35v in the standard model, the supply voltage of +5v is fed in via screw-type terminal j1. in the case of the version for 9..35v= (ea opt-9/35v), the power is supplied via j1 also. important: it is imperative that the polarity is correct. polarity reversal, even for a very short time, can cause the immediate destruction of the entire display. rs-232 connection the graphics kit is shipped with an rs-232 interface as standard. the pin assignment of the plug connector (j3) is as shown in the table on the left. the j3 has a 2.54mm grid. the same serial data with 5v levels and cmos logic is available at the j5 eyelet strip. these levels are suitable for direct connection to a c. however, if these signals are used, solder link rxd and cts must be cut or opened. please note that the internal data buffer only holds 16 bytes. it is therefore imperative that the rts handshake line be queried (a level of +10v means data can be accepted; a level of -10v means the display is busy). the data format is fixed at 8 data bits, 1 stop bit and no parity. *) also on the internet: http://www.lcd-module.de/deu/disk/disk240.zip baud rates the baud rate can be set by means of the 3 dip switches on the left. 9,600 baud is set at the factory (dip 3 on). please note that the internal data buffer only holds 16 bytes. it is therefore imperative that the rts handshake line be queried (a level of +10v means data can be accepted; a level of -10v means the display is busy). the data format is fixed at 8 data bits, 1 stop bit and no parity. write protection for programmed macros you can use dip switch 6 to prevent the programmed macros, images and fonts from being inadvertently overwritten. baud rates dip switches data format 8,n,1 1 2 3 on on on 1200 on on 2400 off on on 4800 off on 9600 off off on on 19200 off on 38400 off off on 57600 off off 115200 off off off write protection dip write protection for eeprom 6 on on no macro progr. possible off off macro progr. possible rs-232 j3 connection pin symbo in/out function 1 vdd - + 5v supply 2 dcd - straptodtr 3 dsr - straptodtr 4 txd out transmit data 5 cts in clear to send 6 rxd in receive data 7 rts out request to send 8 dtr - see pin 2, pin 3 9 - - nc 10 gnd - 0v ground addonj5 pin symbol in/out function 1 vdd - +5v supply 2 gnd - 0v, ground 3 txd5 out transmit data (5v) 4 rxd5 in receivedata(5v) 5 rts5 out request to send (5v) 6 cts5 in clear to send (5v) 7 reset in h: reset
5 ea kit129-6 default settings after power-on or a manual reset, the registers shown here are set to a specific value. please note that all the settings can be overwritten by creating a power-on macro (normal macro no. 0). digitl inputs and outputs ea kit129 provides 8 digital in- or outputs (5v cmos level, grounded). definition for each line as an in- or output can be done at any time. connection will be done via j120 as a 2x5 double row pin header. 8 inputs factory-set all lines are set to input (internally pulled-up). however, the inputs will be queried and evaluated directly via the serial interface ("esc y r"). additionally to that a voltage of >4v starts an internal port macro (if defined). when the 8 lines are combined, up to 256 port macros can thus be addressed. each of these port macros can change the contents of the screen or switch an output, thus enabling a wide range of control functions. to create the port macros you need a pc and the ea disk240 *) floppy disk. you will find a more detailed description on page 6. the automatic port query can be disabled by means of the "esc y a 0" command. note: the logic circuitry is designed for slow operations; in other words, more than 3 changes per second cannot be easily executed. if an input is left open, it is logical high (internaly pulled-up via 100 kohm). 8 outputs writing the command "esc y m anz" will redefine one or more line as an output. upper lines will be outputs and lower lines stay as inputs. command "esc y m 2" for example defines io8 and io7 as output lines and io1~6 will stay as inputs. each (re-defined) line can be controlled individually using the "esc y w" command. a maximum current of 10ma can be switched per line. please note that these 10ma are valid for l-level; h-level will drive some hundrets of a only. for more power use an external transistor or mosfet. in- and output j120 pin symbol function pin symbol function 1 vdd +5v supply 2 io 1 port 1 3 io 2 port 2 4 io 3 port 3 5 io 4 port 4 6 io 5 port 5 7 io 6 port 6 8 io 7 port 7 9 io 8 port 8 10 gnd 0v, ground default settings register command after power-on / reset text mode esc l set, black terminal font esc ft font 3, no zoom cursor esc qc on flashing frequ. esc qz 0.6 sec. graphics mode esc v set graphics font esc f font 3, no zoom last xy esc w (0;0) bargraph 1/2 esc b undefined / unchanged selekt/deselekt esc k selected i/o 1..8 esc y 8 inputs attention handling precautions!
6 ea kit129-6 macro programming single or multiple command sequences can be grouped together in macros and stored in the eeprom. you can then start them by using the execute macro commands. there are 4 different types of macros: touch macros (1..255) these are started when you touch a touch field (in versions with a touch panel - tp) or when you operate an external key/matrix keyboard. touch macro no. 0 is different: it is started when you release any key. port macros (0..255) these are started when voltage is applied to in 1..8. normal macros (1..255) these are started by means of a command via the serial interface or from another macro. a series of macros occurring one after the other can be called cyclically (movie, hourglass, multi-page help text). power-on macro normal macro no. 0 is different: it is executed automatically after power-on. it allows you to switch off the cursor and define an opening screen, for example. note: programming an endless loop in power-on-macro makes the display non-accessible. in that case switch dip 5 to on position, power off, and then power on again and dip 5 back to off position. now all fonts and macro must be downloaded again. storing 256 images in the eeprom to reduce the transmission times of the serial interface or to save storage space in the processor system, up to 256 images can be stored in the internal eeprom. they can be called using the "esc u e" command via the serial interface or from within a touch/port/normal macro. all the images can be used in the windows bmp format. they can be created and edit using widely available software such as windows paint or photoshop. creating individual macros to create your own macros, you need the following: - the ea disk240 *) floppy disk, which contains the compiler, examples and fonts - a pc with a com1 or com2 serial interface and approximately 500kb hard disk space - a text editor such as wordpad or norton editor to define a sequence of commands as a macro, all the commands are written to a file on the pc (e.g. demo.kmc). you specify which character sets are to be integrated and which command sequences are to be in which macros. once the macros are defined, you start the program kitcompiler.exe. this creates an eeprom file called demo.eep, which is then automatically stored in the display eeprom with the baud rate entered. this only takes a few seconds, and you can then use your user-defined macros immediately. you will find a detailed description of how to program macros, together with a large number of examples, in the files doku.doc (for word) and doku.txt (dos) on the ea disk240 *) floppy disk. write protection for programmed macros you can use dip switch 6 to prevent the programmed macros, images and fonts from being inadvertently overwritten (see page 4). *) also on the internet: http://www.lcd-module.de/deu/disk/disk240.zip ;macro demo kit129-6 ; kit type com2: 115200 ; connected to com2, ; baud rate 115,200 baud ;---------------------------------------------------------- ;define constants off = 0 on = 1 font4x6 = 1 font5x6 = 2 font6x8 = 3 font8x8 = 4 font8x16= 5 ;---------------------------------------------------------- ;include fonts font: font4x6, 32, 95 intern4x6 font: font5x6, 32,158 intern5x6 font: font6x8, 32,158 intern6x8 font: font8x8, 32,158 intern8x8 font: font8x16, 32,158 intern8x16 ;---------------------------------------------------------- makro: 0; power-on/reset macro #qc on ; visible cursor #ft font8x16 ; set terminal font #ul 0,20, ; electronic assembly logo
7 ea kit129-6 font 1: 4x6 integrated fonts 5 character sets are integrated in each graphics unit as standard. each character set can be used at its normal height or at up to 8 times this height. independently of the height, the width can also be increased two to eight times. each character can be positioned with pixel accuracy . text and graphics can be combined as required. several different font sizes can also be displayed together. each text can be output left justified, right justified or centered. 90 rotation (for vertical installation of the display) is also possible. macro programming permits the inclusion of up to 11 additional fonts and the complete redesign of the individual characters. a font editor on the ea diskfont1520 floppy disk allows you to create and program in any font you like with a size of up to 16x16 pixels. font 5: 8x16 font 3: 6x8 nr. char. height lines x chars. size in pixels ascii- area note 1 2,6 mm 13 x 40 4x6 32 - 95 micro 2 2,6 mm 13 x 32 5x6 32 - 158 mini 3 3,6 mm 10 x 26 6x8 32 - 158 normal 4 3,6 mm 10 x 20 8x8 32 - 158 bold 5 7,2 mm 5x20 8x16 32 - 158 big tip: font effects with large fonts, you can use the command esc l text mode (link, pattern) to produce interesting effects through overlaying (writing and offsetting a word several times). original font 8x16 with zoom 3 at position 0,0 with black pattern "outline font" produced by overlaying (exor) at pos. 1,1 overlaying (exor) of the "outline font" at pos. 2,2 . results in an "outline font with fill" overlaying ( or ) with 50% gray pattern of the "outline font" at pos. 0,0 . results in a "font with pattern fill"
8 ea kit129-6 command table for the ea kit129-6 command codes note commands for terminal operation form feed ff (dec:12) ^l deletes the screen and sets the cursor at position (1,1) carriage return cr(13) ^m positions the cursor on the left at the beginning of the line line feed lf (dec:10) ^j positions the cursor in the line below the current one. if the cursor is in the last line, positions it in the 1st line cursor on/off esc q c n1 n1=0: cursor is not visible; n1=1: cursor flashes (inverse 6/10s) position cursor esc o n1 n2 n1=column; n2=line; upper left origin is (1,1) set terminal font esc f t n1 n1=1: sets font no. n1 (1..16) for terminal operation text output commands text mode esc l n1 pat mode n1: 1=set; 2=delete; 3=inverse 4=replace; 5=inverse replace; pat: pattern no. 0..7 set font esc f n1 n2 n3 sets font with the number n1 (1..16); n2=x- n3=y-zoom factor (1x..8x) output string horizontally esc z l x1 y1 text ... nul outputs a string (...) at x1,y1. nul ( $00)=end of string; lines are separated by the character '|' ($7c, dec:124); 'l':= left justified at x1; 'z':= centered at x1; 'r':= right justified at x1; y1 is always the upper edge of the string z r output string rotated by 90 (vertically) esc z o x1 y1 text ... nul outputs a string (...) rotated by 90 at x1,y1; nul ( $00)=end; lines are separated by the character '|' ($7c, dec: 124); 'o':= top justified at y1; 'm':= vertically centered at y1; 'u':= bottom justified at y1; x1 is always the right edge of the string m u drawing commands graphics mode esc v n1 sets the drawing mode for the commands 'set point', 'draw straight line', 'rectangle', 'rouded rectangle' and 'fill area with pattern' n1: 1=set; 2=delete; 3=inverse; 4=replace; 5=inverse replace set point esc p x1 y1 sets a pixel at position x1, y1 draw straight line esc g x1 y1 x2 y2 draws a straight line from x1,y1 to x2,y2 continue straight line esc w x1 y1 draws a straight line from the last end point to x1, y1 rectangle commands draw rectangle esc r r x1 y1 x2 y2 draws a rectangle (frame) from x1,y1 to x2,y2 draw rounded rectangle n x1 y1 x2 y2 draws a rectangle with rounded corners from x1,y1 to x2,y2 delete area l x1 y1 x2 y2 deletes an area from x1,y1 to x2,y2 (all pixels off) invert area i x1 y1 x2 y2 inverts an area from x1,y1 to x2,y2 (inverts all pixels) fill area s x1 y1 x2 y2 fills an area from x1,y1 to x2,y2 (all pixels on) fill area with pattern m x1 y1 x2 y2 pat fills an area from x1,y1 to x2,y2 with the pattern pat (0..7) draw box o x1 y1 x2 y2 pat draws a rectangle with the fill pattern pat (0..7); (always replace) draw rounded box j x1 y1 x2 y2 pat draws a rectangle with the fill pattern pat (0..7); (always replace) bitmap image commands image from eeprom esc u e x1 y1 no loads an internal image with the number (0..255) from the eeprom to x1,y1 load image l x1 y1 data ... loads an image to x1,y1; see image structure for the data of the image send hard copy h x1 y1 x2 y2 requests an image. sends the width and height in pixels followed by the actual image data via rs232 all commands at a glance after power-on cursor flashes at the top left of display. it is ready for some commands. all received characters will be displayed as ascii codes (see page 7: font 1..font 5). exceptions are: cr, lf, ff, esc. line feed is done by code lf. after sreen is full, cursor will jump to top left corner again. code ff (formfeed) will clear display. all other commands (place cursor, set font, graphic functions, ...) will be startet by escape-code (27dec. / $1b hex).
9 ea kit129-6 bar graph commands define bar graph esc b r l o u no x1 y1 x2 y2 sv ev pat defines a bar graph to the left (l), right (r), top (o) or bottom (u) with the number no (1..16). x1,y1,x2,y2 define the rectangle enclosing the bar graph. sv,ev are the values for 0% and 100%. pat=pattern (0..7) draw bar graph no value sets the bar graph with the number no (1..2) to the new user 'value' keyboard/touch panel commands define touch key with horizontal label esc t h f1 f2 ret code for tex t ... nul groups touch fields f1 to f2 (diametrically opposite corner fields) together to form a touch key with the return value ret. code (=1..255) (ret. code=0 means the touch key is inactive). form: draws touch key (=0 nothing; =1 delete; =2 with frame) text: positions a string on the touch key (centered) using the current font; lines are separated by the character '|' ($7c, dec: 124); nul character ($00) = end of string define touch key with vertical label (rotated by 90) v (p)reset touch keys p activates all touch keys in ascending order (fields with code 1..15) r deactivates all touch keys (all fields with code 0) touch key response i n1 n1=0: touch key is not inverted when touched n1=1: touch key is automatically inverted when touched s n1 n1=0: no tone sounds when (touch) key is touched n1=1: tone sounds briefly when (touch) key is touched invert touch key m n1 the touch key assigned the return code n1 is inverted manually query key manually w sends the currently depressed (touch) key at the rs-232/rs-422 interface key query on/off a n1 the keyboard query is n1=0:deactivated; n1=1:activated, keystrokes are sent automatically; n1=2:activated, keystrokes are not sent (query with esc t w) control/definition commands automatic flashing area (cursor function) esc q d x1 y1 x2 y2 defines a flashing area from x1,y1 to x2,y2; activates the flashing function z n1 sets the flashing time n1= 1..15 in 1/10s; 0=deactivates the flashing function c n1 automatically flashing area as cursor for terminal operation n1=0: deactivates flashing function; n1=1: activates flashing function (inverse, 6/10s) select/deselect esc k s add activates the kit with the address n1 (n1=255: all) d add deactivates the kit with the address n1 (n1=255: all) a add assigns a new address (add) (in the power-on macro, for example) wait (pause) esc x n1 wait n1 tenths of a second before the next command is executed buzzer on/off esc j n1 n1=0:tone off; n1=1:tone on; n1=2..255:for n1 1/10s long on send bytes esc s num data ... sends num (1..255; 0=256) bytes at the rs-232/rs-422 interface; data ... = num bytes (e.g. control of an external serial printer) reset display esc d r resets and re-initializes the display controller port commands define as in- or ouput esc y m n1 n1=0: i/o1..8 set to input (=default after power-on / reset) n1=1..8: n1 i/o-lines will be set to output (beginning at i/o8 downwards) write output port w n1 n2 n1=0: sets all 8 output ports in accordance with n2 (=8-bit binary value) n1=1..8: resets (n2=0), sets (n2=1) or inverts (n2=2) output port n1 read input port r n1 n1=0: reads in all 8 input ports as 8-bit binary value n1=1..8: reads in input port (1=high level=5v, 0=low level=0v) port scan on/off a n1 deactivates (n1=0) or activates (n1=1) automatic scanning of the input port input port inverse i n1 evaluates the input port (n1=0: normal; n1=1: inverted) switch backlight on/off l n1 cfl/led backlight n1=0: off; n1=1: on; n1=2: invert; n1=3..255: backlight for n1/10 sec. switched on and then automat. turn off macro commands execute macro esc m n n1 calls the (normal) macro with the number n1 (max. 7 levels) execute touch macro t n1 calls the touch macro with the number n1 (max. 7 levels) execute port macro p n1 calls the port macro with the number n1 (max. 7 levels) macros autom. cyclical a n1 n2 n3 processes macros n1..n2 automatically cyclically; n3=pause in 1/10s macros autom. ping-pong j n1 n2 n3 processes macros n1..n2..n1 automatically (ping-pong); n3=pause in 1/10s display commands (which apply to the whole display) delete display esc d l deletes the contents of the display (all pixels off) invert display i inverts the contents of the display (inverts all pixels) fill display s fills the contents of the display (all pixels on) switch display off a makes the contents of the display invisible, but they remain there and further commands are possible switch display on e makes the contents of the display visible again
10 ea kit129-6 parameters the graphics kit can be programmed by means of various integrated commands. each command begins with esc followed by one or two command letters and then parameters. all the commands and their parameters, such as coordinates and other transfer values, are always expected as bytes. no separating characters, such spaces or commas, must be used between them. the commands require no final byte such as a carriage return (except for the string $00). a..z, l/r/o/u .................................... all commands are transferred as ascii characters. example: g= 71 (dec.) = $47 initiates the straight-line command. x1, x2, y1, y2 .................................... coordinates are transferred with 1 byte. example: x1= 10 (dec.) = $0a esc .................................................. 1 byte: 27(dec.) = $1b n1,n2,no,sv,ev,value,pat,ret, frm,data ........................................... numerical values are transferred with 1 byte. example: n1=15(dec.) = $0f programming example the following table shows an example in which the string "test" is output left justified at coordinate 7,3. example codes to be output in ascii esc z l bel etx t e s t nul in hex $1b $5a $4c $07 $03 $54 $65 $73 $74 $00 in decimal 27 90 76 7 3 84 101 115 116 0 for turbo pascal write(aux, chr(27), 'z', 'l', chr(7), chr(3), 'test', chr(0)); for c fprintf(stdaux, "\x1bzl%c%c%s\x00", 7, 3, "test"); for q basic open "com1:9600,n,8,1,bin" for random as #1 print #1,chr$(27)+"zl"+chr$(7)+chr$(3)+"test"+chr$(0) pattern a pattern type (mst = 0..7) can be set as a parameter with some commands. in this way, rectangular areas, bar graphs and even texts can be linked to different patterns and displayed. the following fill patterns are available: pat=0 pat=1 pat=2 pat=3 pat=4 pat=5 pat=6 pat=7 white b lack 25% gray 50% gray 75% gray 45 right 45 left 45 cross
11 ea kit129-6 descriptions of the various graphics functions on the following pages you will find detailed descriptions of all of the functions in alphabetical order. in each case, an enlarged section of the image, 50x32 pixels in size, is shown as a hard copy example, indicating the contents of the display after the command is executed. the bytes to be transferred are shown as hex values in the examples. esc b l/r/o/u no x1 y1 x2 y2 sv ev pat define bar graph up to 2 bar graphs ( no =1..2) can be defined. these can extend to the left ( l ), right ( r ), up ( o ) or down ( u ). at its full extent, the bar graph occupies an area from x1 , y1 to x2 , y2 . it is scaled with the start value (no extension) sv (=0..254) and the end value (full extension) ev (=0..254). the bar graph is always drawn in inverse mode with the pattern ( pat ): the background is thus always retained. (note: when this command is executed, it defines the bar graph but does not display it). example: $1b $42 $4f $01 $04 $02 $09 $1e $04 $14 $01 bar graph no. 1, which extends upwards, is defined. when it is fully extended, it takes up an area from 4,2 to 9,30. the start and end values correspond to a 4..20 ma display. (the diagram shows the bar graph fully extended, as represented with $42 $01 $14.) esc b no value draw bar graph the bar graph with the number n1 (1..2) is set to the new value (sv <= value <= ev). if value > ev, the end value (ev) is displayed. the bar graph must be defined first (see above). example: $1b $42 $01 $0a bar graph no. 1 defined in the above example is set to a value of 10. esc d l/i/s change contents of display the entire contents of the display are deleted ( l - white), inverted ( i ) or filled ( s - black). example: $1b $44 $49 inverts the entire contents of the display. esc d a/e switch display on/off switches the contents of the display off ( a - not visible) or on ( e - visible). outputs are still possible when it is switched off. example: $1b $44 $41 the contents of the display are no longer visible after this command. note: this does not mean that power supply current is reduced.
12 ea kit129-6 esc f n1 n2 n3 set font sets the font with the number n1 (1=4x6 uppercase letters only !). in addition, an enlargement factor (1..8 times) is set for the width ( n2 ) and height ( n3 ) separately. example: $1b $46 $02 $03 $04 the 6x8 with 3 times the width and 4 times the height is set with immediate effect. in the adjacent figure, the character 'e' is shown in the 6x8 font and with various enlargement factors. esc f t n1 set terminal font sets the font with the number n1 for terminal operation. the font for the terminal is always used without zoom and in replace mode. example: $1b $46 $54 $03 the 6x8 font is set as the terminal font with immediate effect. esc g x1 y1 x2 y2 draw straight line a straight line is drawn from x1,y1 to x2,y2 taking into account the graphics mode set 'v' (set/delete/inverse). example: $1b $47 $03 $14 $28 $06 a straight line is drawn from 3,20 to 50,6. esc h x1 y1 x2 y2 create hard copy of display contents requests the area from the upper left corner ( x1,y1 ) to the lower right corner ( x2,y2 ). the graphics chip then immediately sends the width and height of the image section followed by the image data. see the upload image command ('u') for the structure of the image data. example: $1b $48 $00 $00 $1f $0f the upper left part of the screen (32 x 16 pixels) is sent via rs-232. esc j n1 switch beep on/off manually switches the tone off ( n1 =0), on for an undefined period ( n1 =1) or on for n1/10 seconds ( n1 =2..255). example: $1b $4a $0a the tone sounds for 1 second after this command. esc k a add assign address assigns an address to the ea kit129 ( add =0..254). the best place for this command is in the power-on macro. example: $1b $4b $41 $01 the ea kit129 is assigned the address $01 with immediate effect. esc k s/dadd (de)select kit129 selects ( s ) or deselects ( d ) the ea kit129 with the address add (0..254); the address 255=$ff is a master address for all ea kit129 units. example: $1b $4b $44 $01 all commands for the ea kit129 with the address $01 are ignored with immediate effect.
13 ea kit129-6 esc l n1 pat set text mode sets the link mode ( n1 ) and pattern ( pat) for the string output text function ( esc z ). example: $1b $4c $03 $03 sets the link mode for all subsequent text functions to gray characters (pattern 3 = 50% gray) inverted with the background. link mode n1: 1 = set: black pixels irrespective of the previous value (or) 2 = delete: white pixels irrespective of the previous value 3 = inverse: changes black pixels to white pixels and vice versa (exor) 4 = replace: deletes the background and sets black pixels 5 = inverse replace: fills the background and sets white pixels esc m n n1 call macro calls the normal macro with the number n1 (0..255). example: $1b $4d $4e $0f the (normal) macro with the number 15 is executed. esc m t n1 call touch macro calls the touch macro with the number n1 (0..255). example: $1b $4d $54 $03 the (normal) macro with the number 3 is executed. esc m p n1 call port macro calls the port macro with the number n1 (0..255). example: $1b $4d $50 $01 the (normal) macro with the number 1 is executed. esc m a/j n1 n2 n3 execute macros automatically calls the normal macros with the numbers n1 to n2 automatically every n3 /10 seconds. a =cyclical call (e.g. 1,2,3,4,1,2,3,4, etc.); j =ping-pong call (e.g. 1,2,3,4,3,2,1,2,3,4, etc.). automatic execution is terminated: - when a character is received from the rs-232 interface - when a touch automatically executes a touch macro - when an input change executes a port macro example: $1b $4d $41 $01 $03 $05 the macros with the numbers 1, 2 and 3 are executed automatically with a break of 1/2 second.
14 ea kit129-6 esc o n1 n2 position cursor sets the cursor to column n1 and row n2 for terminal operation. the origin in the upper left corner is 1,1. example: $1b $4f $03 $05 sets the cursor to the 3rd column in row 5. esc p x1 y1 set dot sets a pixel at x1,y1 taking into account the graphics set mode 'esc v' (set/delete/ invert). example: $50 $11 $0d sets the pixel at 17,13. esc q c n1 cursor on/off n1 =1: switches the cursor on; it flashes at the current position on the terminal. n1 =0: switches the cursor off. example: $1b $51 $43 $01 switches the cursor off. esc q d x1 y1 x2 y2 define flashing area defines the area from the upper left corner ( x1,y1 ) to the lower right corner ( x2,y2 ) as an automatically flashing area. the flashing function is started at the same time. this deactivates the terminal cursor. example: $1b $51 $44 $00 $0f $07 $10 defines the flashing area from 0,15 to 7,16. esc q z n1 set flashing time sets the flashing time to n1 (=1..15) tenths of a second. when n1 = 0, the flashing function is deactivated and the original screen restored. example: $1b $51 $5a $03 sets the flashing time to 0.3 seconds. esc r r x1 y1 x2 y2 draw rectangle draws a rectangle from the upper left corner ( x1,y1 ) to the lower right corner ( x2,y2 ) taking into account the set graphics mode 'v' (set/delete/inverse). the contents of the rectangle are not changed. see 'esc r o' (draw box). example: $1b $52 $52 $15 $08 $30 $25 draws a rectangle from 21,8 to 48,37. esc r n x1 y1 x2 y2 draw rounded rectangle draws a rectangle with rounded corners from the upper left corner ( x1,y1 ) to the lower right corner ( x2,y2 ) taking into account the set graphics mode 'v' (set/delete/inverse). the contents of the rounded rectangle are not changed. see 'esc r j' (draw rounded box). example: $1b $52 $4e $06 $02 $26 $13 draws a rounded rectangle from 6,2 to 38,19.
15 ea kit129-6 esc r l x1 y1 x2 y2 delete area deletes the area from the upper left corner ( x1,y1 ) to the lower right corner ( x2,y2 ). example: $1b $44 $53 $1b $52 $4c $06 $04 $28 $19 the display is filled with esc d s and then deleted from 6,4 to 40,25. esc r i x1 y1 x2 y2 invert area inverts the area from the upper left corner ( x1,y1 ) to the lower right corner ( x2,y2 ) (black pixels turn white and vice versa). example: $1b $52 $49 $00 $00 $17 $1b inverts the area from 0,0 to 23,27 with the display contents from the "set font" example. esc r s x1 y1 x2 y2 fill area fills the area from the upper left corner ( x1,y1 ) to the lower right corner ( x2,y2 ) (sets the pixels to black). example: $1b $52 $53 $09 $05 $16 $16 sets the area from 9,5 to 22,22 black. esc r m x1 y1 x2 y2 pat fill area with pattern fills a rectangular area from the upper left corner ( x1,y1 ) to the lower right corner ( x2,y2 ) with the pattern pat taking into account the set graphics mode "esc v' (set/ delete/invert/replace/inverse replace). example: $1b $52 $4d $05 $01 $2d $1a $07 fills the area with the pattern 7=45cross from 5,1 to 45,26. esc r o x1 y1 x2 y2 pat draw box draws a rectangle from the upper left corner ( x1,y1 ) to the lower right corner ( x2,y2 ) with the pattern pat . the background of the box is deleted. see 'esc r r' (draw rectangle). example: $1b $52 $4f $02 $05 $12 $1e $02 draws a box from 2,5 to 18,30 with the pattern 2=25%gray. esc r j x1 y1 x2 y2 pat draw rounded box draws a rectangle with rounded corners from the upper left corner ( x1,y1 ) to the lower right corner ( x2,y2 ) with the pattern pat . the background is deleted. see 'esc r n' (draw rounded rectangle). example: $1b $52 $4a $07 $03 $23 $16 $03 draws a rounded box from 7,3 to 35,22 with the pattern 3=50%gray. esc s num data... send bytes via rs-232 outputs the next num (1..255, 0=256) bytes at the serial interface. example: $1b $53 $04 $54 $45 $53 $54 transmits the word 'test' via the rs-232c interface.
16 ea kit129-6 esc t h/vf1 f2 ret frm text... nul define touch key defines a touch key and labels it with the current font. h =horizontal or v =vertical labeling (rotated 90). several touch fields can be grouped together to form a single touch key ( f1 =upper left touch field; f2 =lower right touch field of the new touch key). this touch key is assigned a return code with ret (1..255). when the touch key is touched, the touch macro with the number ret is called or, if no touch macro is defined, this return code is sent via the rs232. you use frm to define the format of the touch key (frm=0: don't draw anything; frm=1: delete touch key; frm=2: delete touch key and draw with frame). text... =string with the label (which is always centered on the touch key). the label can also have more than one line; in this case, the lines are separated by the pipe-character '|' (=$7c). the string must be concluded with nul = $00. see example on page 3. example 1: horizontal touch key: $1b $54 $48 $01 $01 $41 $02 $54 $45 $53 $54 $00 defines a horizontal touch key (field no. 1 only) with the return code 65='a'. the touch key is drawn with a frame and labeled with the word 'test'. example 2: vertical touch key: $1b $54 $56 $02 $02 $42 $02 $54 $45 $53 $54 $00 defines a vertical touch key (touch field no. 2 only) with the return code 66='b'. the touch key is drawn with a frame and labeled with the word 'test'. esc t p/r preset/reset touch fields assigns p (=ascending return code: 1..60) or r (=reset all touch fields) to all 60 touch fields. in the latter case all touch fields receive the return code 0 (i.e. they are deactivated). example: $1b $54 $52 all touch fields are deactivated by this command and no longer recognized. esc t i/s n1 touch key response these commands set the automatic response of the touch panel to touching. both responses can be activated simultaneously. i =automatic inversion when the touch key is touched ( n1 =0: off or n1 =1: on) s =automatic signal tone when the touch key is touched ( n1 =0: off or n1 =1: on) example: $1b $54 $49 $01 after this command the tone sounds when a touch key is touched. esc t m ret invert touch key manually this command manually inverts the touch key with the return code ret . example: $1b $54 $4d $41 inverts the touch key from the above example with the return code 65='a'. esc t a n1 (touch) key query on/off this command sets the (touch) key query: n1 =0: switches the key query off - no touch macros or manual key query possible. n1 =1: activates the key query - keystrokes trigger touch macros or are sent via rs232. n1 =2: activates the key query - keystrokes trigger touch macros; must be queried manually. example: $1b $54 $41 $02 activates the (touch) key query. the keystrokes are not sent automatically via rs232; they have to be requested manually by means of the command esc t w . esc t w query touch key manually sends the return code of the currently depressed touch key at the rs232. example: $1b $54 $57
17 ea kit129-6 esc u e x1 y1 n1 load image from eeprom displays the image saved in the eeprom with the number n1 (0..255) at position x1,y1 . example: $1b $55 $45 $02 $03 $0e displays image number 14 from the eeprom at position 2,3. esc u l x1 y1 data... upload image displays an image at position x1,y1 . data..: - 1 byte for the image width in pixels - 1 byte for the image height in pixels - image data: number = ((height+7) / 8) * width bytes 1 byte stands for 8 horizontal pixels on the screen; 0=white, 1=black; lsb: top, msb: bottom; the image is stored from left to right. the bmp2blv.exe program on the ea disk240 floppy disk available as an accessory creates the image data, including the width and height, from monochrome windows bitmap graphics (*.bmp). example: $1b $55 $4c $09 $04 $0c $0c $f0 $fc $fe $fe $f7 $bf $bf $f7 $fe $fe $fc $f0 $00 $03 $07 $06 $0d $0d $0d $0d $06 $07 $03 $00 loads the adjacent image at position 9,4. esc v n1 set graphics mode sets the link mode n1 for the following graphics functions: esc p (set point), esc g (draw straight line), esc w (continue straight line), esc r r (draw rectangle), esc r n (draw rounded rectangle), esc r m (fill area with pattern). example: $1b $56 $03 sets the link mode to inverse. by way of example, a rectangle is drawn alongside with the link modes set, delete and inverse on an existing background. link mode n1: 1 = set: black pixels irrespective of the previous value (or) 2 = delete: white pixels irrespective of the previous value 3 = inverse: changes black pixels to white pixels and vice versa (exor) 4 = replace: deletes the background and sets black dots;only area with fill pattern 'pat' 5 = inverse replace: fills the background and sets white pixels; only area with fill pattern 'pat' esc w x1 y1 continue straight line continues a straight line from the last end or point drawn to x1,y1 taking into account the set graphics mode 'v'. example: $1b $47 $00 $00 $10 $04 $1b $57 $16 $1b $1b $57 $30 $0f a straight line is drawn from 0,0 to 16,4.it is then continued to 22,27 and to 48,15. by te nr. 1 2 3 4 5 6 7 8 9 10 11 12 bit 0 bit 1 bit 2 bit 3 bit 4 bit 5 bit 6 bit 7 bit 0 bit 1 bit 2 bit 3 bit 4 bit 5 bit 6 bit 7 13 14 15 16 17 18 19 20 21 22 23 24 by te nr.
18 ea kit129-6 esc x n1 wait/pause this command suspends the ea kit129 for n1 /10 seconds. example: $1b $58 $0a after this command the ea kit129 waits for a second before the next command is processed. esc y m n1 define as an output n1=count of i/o lines will be defined as an output (starting at i/o8 downwards). if n1 =0, all lines i/o1~i/o8 are switched as input lines (=default after power-on and after reset); see also application page 5. example: $1b $59 $4d $03 sets i/o lines 6, 7 and 8 as output. i/o lines 1,2,3,4,5 stay as input lines. esc y r n1 read input port reads in the input port ( n1 =1..8 = i/o1 ... i/o8). when n1 =0, all the inputs are read in as 8-bit binary values (msb:i/o8 ... i/o1:lsb); see application on page 5. important: external optocoupler device usually invert the input logic (input open: 1). the command "esc y i 1" puts this right (input open: 0). example: $1b $59 $52 $03 reads in port i/o3. the result is sent via rs232. esc y w n1 n2 write output port changes the output port ( n1 =1..8 = i/o1..i/o8) to the value n2 (0=low level; 1=high level; 2=invert port). when n1 =0, all the outputs are output as a binary value n2 (msb:i/o8 ... i/o1:lsb); see application on page 5. example: $1b $59 $57 $02 $01 switches the output port i/o2 to high level. esc y a n1 automatic port query on/off each change at the input port (8-bit binary value i/o8 ... i/o1) can call a port macro (0..255). this command activates ( n1 =1) or deactivates ( n1 =0) the automatic port query. after power-on, the current port status is read and the associated port macro executed immediately. example: $1b $59 $41 $01 activates the automatic port query and executes the associated port macro. esc y i n1 invert input port logic this command allows the logic of the input port to be inverted ( n1 =0 for normal or n1 =1 for inverse). this is useful with the external optocoupler devices, for example. example: $1b $59 $49 $01 inverts the input port logic. esc y l n1 switch led-backlight on/off n1 =0 will switch off led backlight, n1 =1 will switch on backlight; n1 =2 inverts: on->off or off->on; n1 =3..255 led backlight switched on for the time of n1/10 seconds. example: $1b $4a $64 will switch on backlight for 10 seconds. note: in blue version ea kit129-lw(tp) back light will be driven with 7ma even in "backlight-off" state. this is necessary to keep a minimum of contrast. if required, these stand-by backlight can be switched to real zero when resistor r off (240 ? , smd type) is removed. black&white-version ea kit129j-lw(tp) do not have this led stand-by current.
19 ea kit129-6 esc z l/z/r x1 y1 text... nul horizontal string writes the string text... left justified ( l ), centered ( z ) or right justified ( r ) at position x1 taking into account the set text mode ( esc l ). multi-line text can also be output, with the lines separated by the character '|' (=$7c). the string must be concluded with nul = $00. position y1 is the upper edge of the 1st line. example 1: writes the text "left|ok" left justified at 0,0. $1b $5a $4c $00 $00 $4c $65 $66 $74 $7c $4f $6b $00 example 2: w rites the text "center|ok" centered at 25,0. $1b $5a $5a $19 $00 $43 $65 $6e $74 $65 $72 $7c $4f $6b $00 example 3: writes the text "right|ok" right justified at 49,0. $1b $5a $52 $31 $00 $52 $69 $67 $68 $74 $7c $4f $6b $00 esc z o/m/u x1 y1 text... nul ve rtical string writes the string text... rotated by 90 degrees top justified ( o ), vertically centered ( m ) or bottom justified ( u ) at position y1 taking into account the text mode ( esc l ). multi- line text can also be output, with the lines separated by the character '|' (=$7c). the string must be concluded with nul = $00. position x1 is the right edge of the 1st line. example 1: writes the text "top|ok" top justified at 49,0. $1b $5a $4f $31 $00 $54 $6f $70 $7c $4f $6b $00 example 2: writes the text "mi d|ok" vertically centered at 49,15. $1b $5a $4d $31 $0f $4d $69 $64 $7c $4f $6b $00 example 3: writes the text "bot|ok" bottom justified at 49,31. $1b $5a $55 $31 $1f $42 $6f $74 $7c $4f $6b $00
zeppelinstrasse 19 d- 82 205 gilching phone +49-8105-778090 fax +49-8105-778099 http://www.lcd-module.de ea kit129-6 attention handling precautions! dimensions hints for handling and operating - the module can be destroyed electrically by mispoled or overvoltaged power supply, wrong polarity, overvoltage or static discharge on inputs or shortened outputs. - before disassembling the module, the power supply must be switched off. also all inputs must not carry any current. - display, touch screen and cover glass are scratch- sensitive plastic materials and should not be touched with hard objects. - surfaces should be cleaned with soft fabric without using of chemical solvents. - the module is designed for indoor use only. for operating in outside enviroment adequate precautions must be undertaken. maximum operating temperature range from -20..+70c should be not exceeded. please note that ambient temperature range is different because of self-heating of module. in humid atmosphere or in condensing situations the module functions may drop out. direct sun exposure to the display should be avoided. storage temperature range is -30..+70c. 0,52 0,50 0,44 0,42 75,0 69,0 56,30 61,0 38,0 31,0 11,3 10,8 with touch panel ea kit129-6lwtp with touch panel ea kit129-6lwtp w./.o. touch panel ea kit129-6lw w./.o. touch panel ea kit129-6lw 1,6 11,5 max. 11,5 max. 54,0 33,26 38,0 45,8 60,0 4x 2,7 4x 2,7 128x64 blue-white 128x64 blue-white all dimensions are in mm mounting bezel cut out all dimensions are in mm
mouser electronics authorized distributor click to view pricing, inventory, delivery & lifecycle information: electronic assembly: ? ea 0fp129-6sw? ea kit129-6lwtk


▲Up To Search▲   

 
Price & Availability of EADISK240

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X